home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / cmsapplytfm.z / cmsapplytfm
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccmmmmssssAAAAppppppppllllyyyyTTTTffffmmmm((((3333))))                       CCCCMMMMSSSS                        ccccmmmmssssAAAAppppppppllllyyyyTTTTffffmmmm((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cmsApplyTfm - apply a color management tranform to a pixel buffer
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ccccmmmmssss....hhhh>>>>
  13.  
  14.      iiiinnnntttt33332222 ccccmmmmssssAAAAppppppppllllyyyyTTTTffffmmmm ((((ccccttttxxxxtttt,,,, ttttffffmmmm,,,, ****ppppssssrrrrcccc,,,, ****ppppddddeeeesssstttt))));;;;
  15.      CCCCMMMMSSSSCCCCoooonnnntttteeeexxxxtttt ccccttttxxxxtttt;;;;
  16.      CCCCMMMMSSSSTTTTffffmmmm ttttffffmmmm;;;;
  17.      CCCCMMMMSSSSPPPPiiiixxxxeeeellllBBBBuuuuffffffffeeeerrrr ****ppppssssrrrrcccc;;;;
  18.      CCCCMMMMSSSSPPPPiiiixxxxeeeellllBBBBuuuuffffffffeeeerrrr ****ppppddddeeeesssstttt;;;;
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      _c_m_s_T_f_m_A_p_p_l_y uses the transform _t_f_m to apply a conversion to the input
  22.      pixel buffer _p_s_r_c, generating the output pixel buffer _p_d_e_s_t.
  23.  
  24.      In-place conversions may not be possible; for example, if the output
  25.      format requires more space than the input format (RGB to CMYK), or if the
  26.      CMM can not support in-place conversions.  In such cases, an error will
  27.      be generated.
  28.  
  29.      Transformations may take a while to perform.  If you are concerned about
  30.      maintaining interactivity, you may wish to transform images in smaller
  31.      sized chunks.  Use the hint CMS_SPEED_ACHIEVED to determine the rate at
  32.      which the system can update pixels using the current transform.  Using
  33.      this number as a guide, you can perform a lengthy conversion in chunks
  34.      small enough to maintain interactive responsiveness.
  35.  
  36. EEEERRRRRRRROOOORRRRSSSS
  37.      CMS_WRONG_DATA
  38.                Either one of the pixel buffer pointers does not point to a
  39.                pixel buffer, or it points to a buffer of the wrong format for
  40.                the transform.
  41.  
  42.      CMS_BAD_TFM
  43.                _t_f_m is either not a transform, or it is not a transform built
  44.                using the context _c_t_x_t.
  45.  
  46.      CMS_BAD_PIXEL_BUF
  47.                Either one of the pixel buffer pointers does not point to a
  48.                pixel buffer, or it points to a buffer of the wrong format for
  49.                the transform.
  50.  
  51.      CMS_CONVERT_ERROR
  52.                This transform could not be applied to the data. This error
  53.                will be generated if a transform could not be performed in-
  54.                place.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.